Strain in pseudomorphic films grown on arbitrarily oriented substrates