Computational studies on biological membranes and viral capsids